package com.zenchn.service.impl;

import com.zenchn.dao.TSysFileMapper;
import com.zenchn.dynamic.TSysFileDynamicMapper;
import com.zenchn.generic.GenericDao;
import com.zenchn.generic.GenericServiceImpl;
import com.zenchn.model.TSysFile;
import com.zenchn.model.TSysFileExample;
import com.zenchn.service.SysFileService;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import static org.mybatis.dynamic.sql.SqlBuilder.*;
import static com.zenchn.dynamic.TSysFileDynamicSqlSupport.*;
/**
 * 系统文件 业务实现类
 *
 * @author dingxinfa
 * @date 2020-04-16
 **/
@Service
@Transactional(rollbackFor = Exception.class)
public class SysFileServiceImpl extends GenericServiceImpl<TSysFile, String, TSysFileExample> implements SysFileService {

    @Resource
    private TSysFileMapper sysFileMapper;


    @Resource
    private TSysFileDynamicMapper sysFileDynamicMapper;

    @Override
    public GenericDao<TSysFile, String, TSysFileExample> getDao() {
        return sysFileMapper;
    }
}
